package com.wangdao.wechatmall.bean.vo.wx;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.wangdao.wechatmall.bean.pojo.OrderGoods;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author liyongqiang
 * CreateDate 2021/7/12 13:59
 */


@NoArgsConstructor
@Data
public class WXOrderDetailVO {
    @JsonProperty("orderInfo")
    private OrderInfoDTO orderInfo;
    @JsonProperty("orderGoods")
    private List<OrderGoods> orderGoods;

    @NoArgsConstructor
    @Data
    public static class OrderInfoDTO {
        @JsonProperty("consignee")
        private String consignee;
        @JsonProperty("address")
        private String address;
        @JsonProperty("addTime")
        private String addTime;
        @JsonProperty("orderSn")
        private String orderSn;
        @JsonProperty("actualPrice")
        private Double actualPrice;
        @JsonProperty("mobile")
        private String mobile;
        @JsonProperty("orderStatusText")
        private String orderStatusText;
        @JsonProperty("goodsPrice")
        private Double goodsPrice;
        @JsonProperty("couponPrice")
        private Double couponPrice;
        @JsonProperty("id")
        private Integer id;
        @JsonProperty("freightPrice")
        private Double freightPrice;
        @JsonProperty("handleOption")
        private WXHandleOptionVO handleOption;
    }

}

